package com.deer.wms.base.system.service.bill;

import com.deer.wms.base.system.model.bill.MaterialInfo;
import com.deer.wms.base.system.model.bill.MaterialInfoCriteria;
import com.deer.wms.common.core.service.Service;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IMaterialInfoService extends Service<MaterialInfo, Integer> {
    public List<MaterialInfo> selectMaterialList(MaterialInfoCriteria materialInfoCriteria);

    public List<MaterialInfo> findList(MaterialInfoCriteria materialInfoCriteria);

    List<MaterialInfo> findByMaterialBatchId(String carrierId);

    int saveMaterialInfo(MaterialInfo materialInfo);

    int updateMaterialInfo(MaterialInfo materialInfo);

    MaterialInfo findMaterialInfo(MaterialInfo materialInfo);

    /**
     *晶棒托出库
     * @author 李帅辰
     * @date 2021/6/26 14:26
     * @return int
     */
    List<MaterialInfo> findBillOut(String carrierId);

    /**
     *晶棒托出库
     * @author 李帅辰
     * @date 2021/6/26 14:57
     * @return java.util.List<com.deer.wms.base.system.model.bill.MaterialInfo>
     */
    List<MaterialInfo> findBillOutList(MaterialInfoCriteria materialInfo);

    List<MaterialInfo> findBillOutParentMaterialIdList( String carrierId);

    int delectMaterialInfo(String carrierId);

    List<MaterialInfo> findListForPullDown(MaterialInfoCriteria materialInfoCriteria);
}
